﻿using System;
using System.Xml;
using System.Data;
using System.Collections.ObjectModel;
using SharePointSearchBench.Library;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Net;
using System.Diagnostics;
using Microsoft.Office.Server.Search.Query;
using Rhino.Mocks;

namespace SharePointSearchBench.Tests
{
    [TestClass()]
    public class ServerSearchBenchContextTest
    {
        [TestMethod()]
        public void TestSomething()
        {

            //Search search = new Search();
            //MockRepository mocks = new MockRepository();
            //ISearchBenchContext context = (ISearchBenchContext)mocks.CreateMock(typeof(ISearchBenchContext));

            //search.SetSearchBenchContext(context);
            //search.ApiSource = ApiSource.ObjectModel;
            //search.SearchType = SearchType.Keyword;
            //search.ContextUri = new Uri(TestSettings.ServiceUrl);
            //search.SearchText = "dog cat llama";

            //Expect.Call(context.ExecuteKeywordSearch()).Return(new DataSet());

            //mocks.ReplayAll();
            //DataSet results = search.Execute();
            //mocks.VerifyAll();

            
           
            
        }
    }
}
